package cn.itsource.pet.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.pet.domain.Pet;
import cn.itsource.pet.domain.PetType;
import cn.itsource.pet.domain.UpDownDto;
import cn.itsource.pet.query.PetQuery;
import cn.itsource.pet.query.PetTypeQuery;

import java.util.List;

public interface IPetService extends IBaseService<Pet, PetQuery> {

    AjaxResult changeState(UpDownDto upDownDto);

    PageList<Pet> queryHomePage(PetQuery petQuery);

    AjaxResult detailById(Long id);
}
